/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package it.dileo.gui;

import java.util.List;
import java.util.ArrayList;

/**
 *
 * @author Mario
 */
public class Studente extends Persona{
    
    private List<Materia> materie = new ArrayList<Materia>();
    
    public void studia(Materia materia){
        materie.add(materia);
    }
    
    public List<Materia> getMaterie(){
        return materie;
    }
    
    
    
    
}
